<!DOCTYPE html>
<html>
	<head>
		<base href="http://www.runoob.com/images/" target="_blank">
		<meta charset="utf-8">
		<title>head</title>
		<link rel="stylesheet" type="text/css" href="mystyle.css">
		<style>
			div{
				width: 100px;
				height: 100px;
				background-color: red;
			}
		</style>
		<script>
			function p1(){
				alert("aaaaaaaaaaa")
			}
		</script>
		<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">
	</head>
	<body>
		<div onclick="p1()">
			
		</div>
	</body>
</html>